{% extends "index/main.html" -%}
{% block css -%}
<style type="text/css">
@import url("https://fonts.googleapis.com/css2?family=Fontdiner+Swanky&family=Roboto:wght@500&display=swap");

.admin-content {
    padding: 0px;
    cursor: url("{{ctx}}/imgs/cursors-edge.png"), auto;
}

.admin-content>* {
	box-sizing: 0;
	margin: 0;
	padding: 0;
	background: -webkit-gradient(linear, left top, right top, color-stop(50%, white), color-stop(50%, #383838));
	background: linear-gradient(to right, white 50%, #383838 50%);
	font-family: "Roboto", sans-serif;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.5;
	color: white;
}

.error {
	display: -webkit-box;
	display: flex;
	-webkit-box-align: center;
	align-items: center;
	height: 92.3vh;
	margin: 0 auto;
}

.error>* {
	display: -webkit-box;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	flex-flow: column;
	-webkit-box-align: center;
	align-items: center;
	-webkit-box-pack: center;
	justify-content: center;
	height: 100%;
	width: 100%;
	padding: 10rem;
}

aside {
	background-image: url("{{ctx}}/imgs/right-edges.png");
	background-position: top right;
	background-repeat: no-repeat;
	background-size: 25px 100%;
}

aside img {
	display: block;
	height: auto;
	width: 100%;
}

main {
	text-align: center;
}

main h1 {
	font-family: "Fontdiner Swanky", cursive;
	font-size: 4rem;
	color: #c5dc50;
	margin-bottom: 1rem;
}

main p {
	margin-bottom: 2.5rem;
}

main p em {
	font-style: italic;
	color: #c5dc50;
}

main button {
	font-family: "Fontdiner Swanky", cursive;
	font-size: 1rem;
	color: #383838;
	border: none;
	background-color: #f36a6f;
	padding: 1rem 2.5rem;
	-webkit-transform: skew(-5deg);
	transform: skew(-5deg);
	-webkit-transition: all 0.1s ease;
	transition: all 0.1s ease;
	cursor: url("{{ctx}}/imgs/cursors-eye.png"), auto;
}

main button:hover {
	background-color: #c5dc50;
	-webkit-transform: scale(1.15);
	transform: scale(1.15);
}
</style>
{% endblock css -%}
{% block content -%}
<div class="error">
	<aside>
		<img src="{{ctx}}/imgs/mirror.png" alt="404 Image" />
	</aside>
	<main>
		<h1>Sorry!</h1>
		<p>要么你不够酷，无法访问此网页</p>
		<p><em>要么它不存在. . . 你的社交生活</em></p>
		<button onclick="main()">返回主页</button>
	</main>
</div>
<script type="text/javascript">
	function main(){
		location.href = '{{ctx}}/main.html';
	}
</script>
{% endblock content -%}
